/* Menu Principal*/

*{
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding:0;
}
.contextmenu{
    width: 200px;
    display: none;
    position:absolute;
    background-color: rgb(222, 222, 222);
    box-shadow: 5px 5px 5px black;
    z-index: 100;
    padding: 10px;
}
.contextmenu ul{
    padding: 0;

}
.contextmenu a{
    display: block;
    width: 100%;
    line-height: 50px;
    padding: 0 2px;
}
.contextmenu a:hover{
    background-color: black;
    color: white;
    padding: 0 10px;
}

#bienvenue {
    padding: 10px;
}

#bienvenue h2 {
    font-size: 1.5rem; /* Taille par défaut */
}

/* Petit écran (smartphones) */
@media (max-width: 576px) {
    #bienvenue h2 {
        font-size: 1rem;
    }
}

/* Moyen écran (tablettes) */
@media (min-width: 577px) and (max-width: 768px) {
    #bienvenue h2 {
        font-size: 1.4rem;
    }
}

/* Grand écran (ordinateurs) */
@media (min-width: 769px) {
    #bienvenue h2 {
        font-size: 1.8rem;
    }
}
@media (min-width: 1200px) {
    .container-custom {
        max-width: 1200px;
    }
   
}
@media (min-width: 1650px){
    .image{
        margin-left:60px;
    }
}

/* Taille d'écran entre 1450px et 1650px */
@media (min-width: 1450px)and (max-width:1650px){
    h3 {
      font-size: 1.70rem;
    }
    h5 {
      font-size: 1.40rem;
    }
    .image{
        margin-left: auto;
        margin-right: auto;
    }
  }
  
  /* Taille d'écran entre 1200px et 1449px */
  @media (max-width: 1449px) and (min-width: 1200px) {
    h3 {
      font-size: 1.40rem;
    }
    h5 {
      font-size: 1.10rem;
    }
    h2{
        font-size: 1.40rem;
    }
    .image{
        margin-left: auto;
        margin-right: auto;
    }
  }
  
  /* Taille d'écran entre 992px et 1199px */
  @media (max-width: 1199px) and (min-width: 992px) {
    h3 {
      font-size: 1.0rem;
    }
    h5 {
      font-size: 0.75rem;
    }
    h2{
        font-size: 1.20rem;
    }
    .image{
        margin-left: auto;
        margin-right: auto;
    }
  }
  
  /* Taille d'écran entre 768px et 991px */
  @media (max-width: 991px) and (min-width: 768px) {
    h3 {
      font-size: 0.70rem;
      
    }
    h5 {
      font-size: 0.50rem;
    }
    h2 {
        font-size: 0.80rem;
    }
   
  }
  
  /* Taille d'écran inférieure à 768px */
  @media (max-width: 767px) {
    h3 {
      font-size: 1.5rem;
    }
    h5 {
      font-size: 1rem;
    }
    h1{
        font-size: 1.50rem;
    }
  }

 /* Taille d'écran 575px à 263px */
 @media (min-width:263px) and (max-width: 575px) {
    h3 {
      font-size: 1.5rem;
    }
    h5 {
      font-size: 1rem;
    }
    .image{
        margin-left: auto;
        margin-right: auto;
    }
    h2 {
        font-size: 1.50rem;
    }
    h1{
        font-size: 1.20rem;
    }
        
    }
  
    
   

  
       
  
  .image {
    max-width: 250px; /* Limite la largeur maximale */
    width: auto;      /* Conserve la taille d'origine si plus petite */
    height: auto;     /* Conserve les proportions */
    
    
}
.border-radius{
   border-color:black;
}
.mv-30{margin: 30% 0;}
.mv-20{margin: 20% 0;}

li{list-style-type: none;}

.mh-30{margin: 0 30%;}
.mh-20{margin: 0 20%;}

.custom-dropdown-menu {
    color: #ffffff; /* Définit une couleur de texte globale pour le menu */
}


#login-container{
    position: fixed;
    top:0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("../img/femm.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 100;
}
#login-content{
    min-width: 40vw;
    min-height: 15vh;
    border-radius: 10px;
    box-shadow: 10px 10px 10px rgb(104, 101, 101);
    padding: 10px;
    background-color: black;
}
@media print{
    section{
        min-width:100vw;
        background-color: transparent !important;
    }
    table{
        min-width: 100vw;
    }
    .form-container{
        width:100vw !important;
    }
} 

@media screen and (max-width:780px){
    .line-input input{
        display: flex;
        flex-direction: column;

    }
    .input {
        width: 100% !important;
        
    }
    .lab30 .lab20{
        clear: both !important;
    }
    .form-container{
        width: 100% !important;
        padding: 5px;
    }

    
}
.image {
    height: 25vh;
}




.obligatoire:after{
    content:'  *';
    color:red;
    font-size: 1.25em;
} 
.hide{
    display: none;
}
.titre{
    line-height: 60px;
    text-align: center;
    background-color: navy;
    color:white;
    border-bottom:4px solid white;
}
.line-button{
    display:flex;
    justify-content: space-between;
    align-items: center;
    height: 10vh;
} 


#form-client:target{
    /*visibility: visible;*/
    transition: 500ms;
    left:0;
    transform:scale(0.65);
    

}
.lab20{float:left;width: 20%;font-weight: bolder;}
.lab30{float:left;width: 30%;font-weight: bolder;}

.lab40{float:left;width: 40%;font-weight: bolder;}
.line-input input{
    height: 40px;
    border-radius: 5px;
}


.modal{
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 100vw;
    min-height: 100vh;
    position:absolute;
    top:0;
    left: 0;
    backdrop-filter: blur(30px);
    /* visibility: hidden; */
    left:-200vw;

}
.m-auto{
    margin: 10px auto;
  }
#container-page{
  
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
} 
.scroll tbody {
    display: block;
    width: 100%;
    max-height: 40vh;
    overflow-y: auto;
    cursor: pointer;
    scrollbar-width: none;
}

.scroll tbody tr, .scroll thead, .scroll tfoot {
    display: table;
    width: 100%;
}

.scroll tbody::-webkit-scrollbar { 
    display: none;
} 
.page {
    min-width: 40px;
    max-width: 40px;
    max-height: 40px;
    min-height: 40px;
    border-radius: 5px;
    margin: 0 10px;
    font-size: 1.25em;

}
#entete {
    margin-bottom: 20px;
} 


.clignote{
     
        animation-duration: .8s;
        animation-name: clignoter;
        animation-iteration-count: infinite;
        transition: none;
}
@keyframes clignoter {
       0%   { opacity:1; }
       40%   {opacity:0; }
       100% { opacity:1; }
}


header{
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: white;
}
aside{
    min-height: 100vh;
    background-color: rgb(46, 46, 53);
}
section{
    min-height: 100vh;
    background-color: rgba(99, 102, 110, 0.671);
    color: black;
}

footer{
    
    background-color: black;
    color: white;
   
}
.card {
    transition: all 0.5s;
}

.card{
    margin: 4px;
    size-adjust: 6in;
    background-color: black;
    color:aliceblue
}

/* .card:hover{
    transform: scale(1.30);
} */
/* Active l'effet scale uniquement pour les écrans larges (lg et au-delà) */
@media (min-width: 992px) {
    .card-scale:hover {
      transform: scale(1.20); /* Applique le scale seulement sur grand écran */
    }
  }
#attente{
    display: flex;
    justify-content: center;
    align-items: center;
    height:100vh;
    width: 100vw;
    position:absolute;
    top: 10vh;
    backdrop-filter: blur(5px);
    visibility: hidden;
}

.bg-green{
    background-color: green;
    color: white; 
}

a {
    text-decoration: none;
}
#etat{
    min-width: 20px;
    max-width: 20px;
    max-height: 20px;
    min-height: 20px;
    border-radius: 50%;
    display: block;
    text-decoration: none;
    margin: 2px;
    background-color: red;

}
    
#banner {
    max-height: 7vh;
    min-height: 7vh;
    overflow: hidden;
    margin: 4px 0;
}

.relative {
    position: relative;
}

.w05{width: 5%;}
.w10{width: 10%;}
.w20{width: 20%;}
.w30{width: 30%;}
.w40{width: 40%;}
.w50{width: 50%;}
.w55{width: 55%;}
.w60{width: 60%;}
.w70{width: 70%;}
.w80{width: 80%;}
.w90{width: 90%;}
.w100{width:100%;}

.border-white{
    border: 1px solid white;
}
.scroll-sm tbody,p.scroll-sm{
    display: block;
    width: 100%;
    max-height: 150px;
    overflow: auto;
    scrollbar-width: none;
}

.scroll-sm tbody tr, .scroll-sm thead, .scroll-sm tfoot{
    display: table;
    width: 100%;
} 
